package com.surfilter.admin.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.surfilter.admin.framework.aspectj.lang.annotation.Excel;
import com.surfilter.admin.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 新工具发现对象 cmp_new_tool
 * 
 * @author JinHuaTao
 * @date 2020-05-11
 */
public class NewTool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 工具名称 */
    @Excel(name = "工具名称")
    private String toolName;

    /** 工具发现url */
    @Excel(name = "工具发现url")
    private String url;

    /** 截图结果（0默认 1成功 2失败） */
    @Excel(name = "截图结果", readConverterExp = "0=默认,1=成功,2=失败")
    private Integer ssResult;

    /** 截图保存路径 */
    @Excel(name = "截图保存路径")
    private String ssPath;

    /** 截图时间 */
    @Excel(name = "截图时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ssTime;

    /** 发现方式（1网站主页 2搜索引擎 3社交平台 4应用市场 5论坛 6其他） */
    @Excel(name = "发现方式", readConverterExp = "1=网站主页,2=搜索引擎,3=社交平台,4=应用市场,5=论坛,6=其他")
    private String findWay;

    /** 支持平台 */
    @Excel(name = "支持平台")
    private String platform;

    /** 工具是否已经推送（0未推送 1已推送） */
    @Excel(name = "工具是否已经推送", readConverterExp = "0=未推送,1=已推送")
    private Integer isPush;

    /** 工具描述 */
    @Excel(name = "工具描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setToolName(String toolName) 
    {
        this.toolName = toolName;
    }

    public String getToolName() 
    {
        return toolName;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setSsResult(Integer ssResult) 
    {
        this.ssResult = ssResult;
    }

    public Integer getSsResult() 
    {
        return ssResult;
    }
    public void setSsPath(String ssPath) 
    {
        this.ssPath = ssPath;
    }

    public String getSsPath() 
    {
        return ssPath;
    }
    public void setSsTime(Date ssTime) 
    {
        this.ssTime = ssTime;
    }

    public Date getSsTime() 
    {
        return ssTime;
    }
    public void setFindWay(String findWay) 
    {
        this.findWay = findWay;
    }

    public String getFindWay() 
    {
        return findWay;
    }
    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }
    public void setIsPush(Integer isPush) 
    {
        this.isPush = isPush;
    }

    public Integer getIsPush() 
    {
        return isPush;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("toolName", getToolName())
            .append("url", getUrl())
            .append("ssResult", getSsResult())
            .append("ssPath", getSsPath())
            .append("ssTime", getSsTime())
            .append("findWay", getFindWay())
            .append("platform", getPlatform())
            .append("createTime", getCreateTime())
            .append("isPush", getIsPush())
            .append("description", getDescription())
            .toString();
    }
}
